home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / mplay_bombsite.gls < prev    next >
Text File  |  2000-08-22  |  12KB  |  711 lines

  1. /************/
  2. /* INCLUDES */
  3. /************/
  4.  
  5. // n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
  6.  
  7. // default things to inherit our objects from
  8.  
  9. #include "defaults.gsh"
  10.  
  11. // good guys
  12.  
  13. #include "frend.gsh"
  14. #include "hark.gsh"
  15. #include "gunlok.gsh"
  16.  
  17. // bad guys
  18.  
  19. //#include "claw.gsh"
  20. //#include "stalker.gsh"
  21. //#include "drone.gsh"
  22. //#include "centipede.gsh"
  23. //#include "rex.gsh"
  24. //#include "cyberdog.gsh"
  25. //#include "cranium_turret.gsh"
  26. //#include "battler_turret.gsh"
  27. //#include "walking_mine.gsh"
  28. //#include "reaper.gsh"
  29. //#include "scuttler.gsh"
  30. //#include "popup_turret.gsh"
  31. //#include "wall_turret.gsh"
  32. #include "fishy.gsh"
  33. #include "frogs head.gsh"
  34. #include "penguin.gsh"
  35. #include "gunical.gsh"
  36. //#include "gun-tusser.gsh"
  37. #include "guncraft.gsh"
  38. #include "klig ship.gsh"
  39. //#include "star.gsh"
  40. //#include "wing fish.gsh"
  41. #include "x-rotuse.gsh"
  42. //#include "spug gun.gsh"
  43. #include "stingray.gsh"
  44. #include "tulip.gsh"
  45. #include "shouldercrab.gsh"
  46. //#include "pulse.gsh"
  47. //#include "gunter.gsh"
  48.  
  49. // neutral things
  50.  
  51. // #include "robodozer.gsh"
  52. #include "tumbleweed.gsh"
  53. #include "crate.gsh"
  54. #include "wall_multifrag.gsh"
  55. #include "technobox_multifrag.gsh"
  56.  
  57. // fires
  58.  
  59. #include "carfire.gsh"
  60. #include "oilfire.gsh"
  61.  
  62. /*********/
  63. /* NOTES */
  64. /*********/
  65.  
  66. /**********/
  67. /* SHAPES */
  68. /**********/
  69. // world objects
  70.  
  71. shape Shp_BUSTVAT
  72. {
  73.     file "levels\mplay_bombsite.rif"
  74.     name "BUSTVAT"
  75. }
  76. shape Shp_CAR_A
  77. {
  78.     file "levels\mplay_bombsite.rif"
  79.     name "CAR A"
  80. }
  81. shape Shp_CAR_B
  82. {
  83.     file "levels\mplay_bombsite.rif"
  84.     name "CAR B"
  85. }
  86. shape Shp_CAR_C
  87. {
  88.     file "levels\mplay_bombsite.rif"
  89.     name "CAR C"
  90. }
  91. shape Shp_CAR_D
  92. {
  93.     file "levels\mplay_bombsite.rif"
  94.     name "CAR D"
  95. }
  96. shape Shp_CAR_E
  97. {
  98.     file "levels\mplay_bombsite.rif"
  99.     name "CAR E"
  100. }
  101. shape Shp_CAR_F
  102. {
  103.     file "levels\mplay_bombsite.rif"
  104.     name "CAR F"
  105. }
  106. shape Shp_CAR_G
  107. {
  108.     file "levels\mplay_bombsite.rif"
  109.     name "CAR G"
  110. }
  111. shape Shp_CAR_H
  112. {
  113.     file "levels\mplay_bombsite.rif"
  114.     name "CAR H"
  115. }
  116. shape Shp_CYBERBAY
  117. {
  118.     file "levels\mplay_bombsite.rif"
  119.     name "CYBERBAY"
  120. }
  121. shape Shp_GENERATOR
  122. {
  123.     file "levels\mplay_bombsite.rif"
  124.     name "GENERATOR"
  125. }
  126. shape Shp_SCARAB
  127. {
  128.     file "levels\mplay_bombsite.rif"
  129.     name "SCARAB"
  130. }
  131. shape Shp_TRAILER
  132. {
  133.     file "levels\mplay_bombsite.rif"
  134.     name "TRAILER"
  135. }
  136. shape Shp_TRUCK_A
  137. {
  138.     file "levels\mplay_bombsite.rif"
  139.     name "TRUCK A"
  140. }
  141. shape Shp_TRUCK_B
  142. {
  143.     file "levels\mplay_bombsite.rif"
  144.     name "TRUCK B"
  145. }
  146. shape Shp_TRUCK_C
  147. {
  148.     file "levels\mplay_bombsite.rif"
  149.     name "TRUCK C"
  150. }
  151. shape Shp_TRUCK_D
  152. {
  153.     file "levels\mplay_bombsite.rif"
  154.     name "TRUCK D"
  155. }
  156. shape Shp_TRUCK_E
  157. {
  158.     file "levels\mplay_bombsite.rif"
  159.     name "TRUCK E"
  160. }
  161. shape Shp_TRUCK_F
  162. {
  163.     file "levels\mplay_bombsite.rif"
  164.     name "TRUCK F"
  165. }
  166. shape Shp_TRUCK_G
  167. {
  168.     file "levels\mplay_bombsite.rif"
  169.     name "TRUCK G"
  170. }
  171. shape Shp_TRUCK_H
  172. {
  173.     file "levels\mplay_bombsite.rif"
  174.     name "TRUCK H"
  175. }
  176. shape Shp_TRUCK_I
  177. {
  178.     file "levels\mplay_bombsite.rif"
  179.     name "TRUCK I"
  180. }
  181. shape Shp_TRUCK_J
  182. {
  183.     file "levels\mplay_bombsite.rif"
  184.     name "TRUCK J"
  185. }
  186. shape Shp_TRUCK_K
  187. {
  188.     file "levels\mplay_bombsite.rif"
  189.     name "TRUCK K"
  190. }
  191. shape Shp_TRUCK_L
  192. {
  193.     file "levels\mplay_bombsite.rif"
  194.     name "TRUCK L"
  195. }
  196. shape Shp_TRUCK_M
  197. {
  198.     file "levels\mplay_bombsite.rif"
  199.     name "TRUCK M"
  200. }
  201. shape Shp_TRUCK_N
  202. {
  203.     file "levels\mplay_bombsite.rif"
  204.     name "TRUCK N"
  205. }
  206. shape Shp_TRUCK_O
  207. {
  208.     file "levels\mplay_bombsite.rif"
  209.     name "TRUCK O"
  210. }
  211. shape Shp_TRUCK_P
  212. {
  213.     file "levels\mplay_bombsite.rif"
  214.     name "TRUCK P"
  215. }
  216. shape Shp_TRUCK_Q
  217. {
  218.     file "levels\mplay_bombsite.rif"
  219.     name "TRUCK Q"
  220. }
  221. shape Shp_TRUCK_R
  222. {
  223.     file "levels\mplay_bombsite.rif"
  224.     name "TRUCK R"
  225. }
  226. shape Shp_TRUCK_S
  227. {
  228.     file "levels\mplay_bombsite.rif"
  229.     name "TRUCK S"
  230. }
  231. shape Shp_TRUCK_T
  232. {
  233.     file "levels\mplay_bombsite.rif"
  234.     name "TRUCK T"
  235. }
  236. shape Shp_TRUCK_U
  237. {
  238.     file "levels\mplay_bombsite.rif"
  239.     name "TRUCK U"
  240. }
  241. shape Shp_TRUCK_V
  242. {
  243.     file "levels\mplay_bombsite.rif"
  244.     name "TRUCK V"
  245. }
  246. shape Shp_TRUCK_W
  247. {
  248.     file "levels\mplay_bombsite.rif"
  249.     name "TRUCK W"
  250. }
  251. shape Shp_TURBINE_A
  252. {
  253.     file "levels\mplay_bombsite.rif"
  254.     name "TURBINE A"
  255. }
  256. shape Shp_TURBINE_B
  257. {
  258.     file "levels\mplay_bombsite.rif"
  259.     name "TURBINE B"
  260. }
  261. shape Shp_WATCHTOWER
  262. {
  263.     file "levels\mplay_bombsite.rif"
  264.     name "WATCHTOWER"
  265. }
  266. shape Shp_Junkpile_C
  267. {
  268.     file "objects\JUNKPILE C.rif"
  269.     name "JUNKPILE C"
  270. }
  271. shape Shp_Junkpile_D
  272. {
  273.     file "objects\JUNKPILE D.rif"
  274.     name "JUNKPILE D"
  275. }
  276. shape Shp_GARBAGE_F
  277. {
  278.     file "objects\GARBAGE F.rif"
  279.     name "GARBAGE F"
  280. }
  281. shape Shp_GARBAGE_G
  282. {
  283.     file "objects\GARBAGE G.rif"
  284.     name "GARBAGE G"
  285. }
  286.  
  287. /**********/
  288. /* ROLES  */
  289. /**********/
  290.  
  291. // world objects
  292.  
  293. role Rol_BUSTVAT : Rol_PlacedObject
  294. {
  295.     shape Shp_BUSTVAT
  296. }
  297. role Rol_CAR_A : Rol_PlacedObject
  298. {
  299.     shape Shp_CAR_A
  300. }
  301. role Rol_CAR_B : Rol_PlacedObject
  302. {
  303.     shape Shp_CAR_B
  304. }
  305. role Rol_CAR_C : Rol_PlacedObject
  306. {
  307.     shape Shp_CAR_C
  308. }
  309. role Rol_CAR_D : Rol_PlacedObject
  310. {
  311.     shape Shp_CAR_D
  312. }
  313. role Rol_CAR_E : Rol_PlacedObject
  314. {
  315.     shape Shp_CAR_E
  316. }
  317. role Rol_CAR_F : Rol_PlacedObject
  318. {
  319.     shape Shp_CAR_F
  320. }
  321. role Rol_CAR_G : Rol_PlacedObject
  322. {
  323.     shape Shp_CAR_G
  324. }
  325. role Rol_CAR_H : Rol_PlacedObject
  326. {
  327.     shape Shp_CAR_H
  328. }
  329. role Rol_CYBERBAY : Rol_PlacedObject
  330. {
  331.     shape Shp_CYBERBAY
  332. }
  333. role Rol_GENERATOR : Rol_PlacedObject
  334. {
  335.     shape Shp_GENERATOR
  336. }
  337. role Rol_SCARAB : Rol_PlacedObject
  338. {
  339.     shape Shp_SCARAB
  340. }
  341. role Rol_TRAILER : Rol_PlacedObject
  342. {
  343.     shape Shp_TRAILER
  344. }
  345. role Rol_TRUCK_A : Rol_PlacedObject
  346. {
  347.     shape Shp_TRUCK_A
  348. }
  349. role Rol_TRUCK_B : Rol_PlacedObject
  350. {
  351.     shape Shp_TRUCK_B
  352. }
  353. role Rol_TRUCK_C : Rol_PlacedObject
  354. {
  355.     shape Shp_TRUCK_C
  356. }
  357. role Rol_TRUCK_D : Rol_PlacedObject
  358. {
  359.     shape Shp_TRUCK_D
  360. }
  361. role Rol_TRUCK_E : Rol_PlacedObject
  362. {
  363.     shape Shp_TRUCK_E
  364. }
  365. role Rol_TRUCK_F : Rol_PlacedObject
  366. {
  367.     shape Shp_TRUCK_F
  368. }
  369. role Rol_TRUCK_G : Rol_PlacedObject
  370. {
  371.     shape Shp_TRUCK_G
  372. }
  373. role Rol_TRUCK_H : Rol_PlacedObject
  374. {
  375.     shape Shp_TRUCK_H
  376. }
  377. role Rol_TRUCK_I : Rol_PlacedObject
  378. {
  379.     shape Shp_TRUCK_I
  380. }
  381. role Rol_TRUCK_J : Rol_PlacedObject
  382. {
  383.     shape Shp_TRUCK_J
  384. }
  385. role Rol_TRUCK_K : Rol_PlacedObject
  386. {
  387.     shape Shp_TRUCK_K
  388. }
  389. role Rol_TRUCK_L : Rol_PlacedObject
  390. {
  391.     shape Shp_TRUCK_L
  392. }
  393. role Rol_TRUCK_M : Rol_PlacedObject
  394. {
  395.     shape Shp_TRUCK_M
  396. }
  397. role Rol_TRUCK_N : Rol_PlacedObject
  398. {
  399.     shape Shp_TRUCK_N
  400. }
  401. role Rol_TRUCK_O : Rol_PlacedObject
  402. {
  403.     shape Shp_TRUCK_O
  404. }
  405. role Rol_TRUCK_P : Rol_PlacedObject
  406. {
  407.     shape Shp_TRUCK_P
  408. }
  409. role Rol_TRUCK_Q : Rol_PlacedObject
  410. {
  411.     shape Shp_TRUCK_Q
  412. }
  413. role Rol_TRUCK_R : Rol_PlacedObject
  414. {
  415.     shape Shp_TRUCK_R
  416. }
  417. role Rol_TRUCK_S : Rol_PlacedObject
  418. {
  419.     shape Shp_TRUCK_S
  420. }
  421. role Rol_TRUCK_T : Rol_PlacedObject
  422. {
  423.     shape Shp_TRUCK_T
  424. }
  425. role Rol_TRUCK_U : Rol_PlacedObject
  426. {
  427.     shape Shp_TRUCK_U
  428. }
  429. role Rol_TRUCK_V : Rol_PlacedObject
  430. {
  431.     shape Shp_TRUCK_V
  432. }
  433. role Rol_TRUCK_W : Rol_PlacedObject
  434. {
  435.     shape Shp_TRUCK_W
  436. }
  437. role Rol_TURBINE_A : Rol_PlacedObject
  438. {
  439.     shape Shp_TURBINE_A
  440. }
  441. role Rol_TURBINE_B : Rol_PlacedObject
  442. {
  443.     shape Shp_TURBINE_B
  444. }
  445. role Rol_WATCHTOWER : Rol_PlacedObject
  446. {
  447.     shape Shp_WATCHTOWER
  448. }
  449. role Rol_Junkpile_C : Rol_DefaultJunkpile
  450. {
  451.     shape Shp_Junkpile_C
  452. }
  453. role Rol_Junkpile_D : Rol_DefaultJunkpile
  454. {
  455.     shape Shp_Junkpile_D
  456. }
  457. role Rol_Garbage_F : Rol_DefaultGarbage
  458. {
  459.     shape Shp_GARBAGE_F
  460. }
  461. role Rol_Garbage_G : Rol_DefaultGarbage
  462. {
  463.     shape Shp_GARBAGE_G
  464. }
  465.  
  466. /***********/
  467. /* THE MAP */
  468. /***********/
  469.  
  470. map /* _THE_ map - doesnt need a label */
  471. {
  472.     file "levels\mplay_bombsite.rif"
  473.     name "Land"
  474.     bitmap none // obsolete
  475.     camera plane none
  476.     max camera distance 100 // TBD exactly
  477.     shadow object rif "levels\mplay_bombsite_shadow.rif"
  478.     shadow object name "Land"
  479.  
  480.     // PLAYERS TROOPS
  481.  
  482.     use Rol_Hark in team 1 for
  483.         "Goodie A" as "hark"
  484.  
  485.     use Rol_Hark in team 1 for
  486.         "Goodie B" as "hark"
  487.  
  488.     use Rol_Frend in team 1 for
  489.         "Goodie C" as "frend"
  490.  
  491.     use Rol_GunLok in team 1 for
  492.         "Goodie D" as "gunlok"
  493.  
  494.     use Rol_GunLok in team 3 for
  495.         "Goodie E" as "gunlok"
  496.  
  497.     use Rol_Hark in team 3 for
  498.         "Goodie F" as "hark"
  499.  
  500.     use Rol_Hark in team 3 for
  501.         "Goodie G" as "hark"
  502.  
  503.     use Rol_Frend in team 3 for
  504.         "Goodie H" as "frend"
  505.  
  506.     // AI'S TROOPS
  507.  
  508.     // NEUTRAL OBJECTS
  509.  
  510. use Rol_BUSTVAT in team 0 for
  511. "BUSTVAT"
  512.  
  513. //use Rol_CAR_A in team 0 for
  514. //"CAR_A"
  515.  
  516. //use Rol_CAR_B in team 0 for
  517. //"CAR_B"
  518.  
  519. //use Rol_CAR_C in team 0 for
  520. //"CAR_C"
  521.  
  522. //use Rol_CAR_D in team 0 for
  523. //"CAR_D"
  524.  
  525. //use Rol_CAR_E in team 0 for
  526. //"CAR_E"
  527.  
  528. //use Rol_CAR_F in team 0 for
  529. //"CAR_F"
  530.  
  531. //use Rol_CAR_G in team 0 for
  532. //"CAR_G"
  533.  
  534. //use Rol_CAR_H in team 0 for
  535. //"CAR_H"
  536.  
  537. use Rol_CYBERBAY in team 0 for
  538. "CYBERBAY"
  539.  
  540. use Rol_GENERATOR in team 0 for
  541. "GENERATOR"
  542.  
  543. use Rol_SCARAB in team 0 for
  544. "SCARAB"
  545.  
  546. use Rol_TRAILER in team 0 for
  547. "TRAILER"
  548.  
  549. //use Rol_TRUCK_A in team 0 for
  550. //"TRUCK A"
  551.  
  552. //use Rol_TRUCK_B in team 0 for
  553. //"TRUCK B"
  554.  
  555. //use Rol_TRUCK_C in team 0 for
  556. //"TRUCK C"
  557.  
  558. //use Rol_TRUCK_D in team 0 for
  559. //"TRUCK D"
  560.  
  561. //use Rol_TRUCK_E in team 0 for
  562. //"TRUCK E"
  563.  
  564. //use Rol_TRUCK_F in team 0 for
  565. //"TRUCK F"
  566.  
  567. //use Rol_TRUCK_G in team 0 for
  568. //"TRUCK G"
  569.  
  570. //use Rol_TRUCK_H in team 0 for
  571. //"TRUCK H"
  572.  
  573. //use Rol_TRUCK_I in team 0 for
  574. //"TRUCK I"
  575.  
  576. //use Rol_TRUCK_J in team 0 for
  577. //"TRUCK J"
  578.  
  579. //use Rol_TRUCK_K in team 0 for
  580. //"TRUCK K"
  581.  
  582. //use Rol_TRUCK_L in team 0 for
  583. "TRUCK L"
  584.  
  585. //use Rol_TRUCK_M in team 0 for
  586. //"TRUCK M"
  587.  
  588. //use Rol_TRUCK_N in team 0 for
  589. //"TRUCK N"
  590.  
  591. //use Rol_TRUCK_O in team 0 for
  592. //"TRUCK O"
  593.  
  594. //use Rol_TRUCK_P in team 0 for
  595. //"TRUCK P"
  596.  
  597. //use Rol_TRUCK_Q in team 0 for
  598. //"TRUCK Q"
  599.  
  600. //use Rol_TRUCK_R in team 0 for
  601. //"TRUCK R"
  602.  
  603. //use Rol_TRUCK_S in team 0 for
  604. //"TRUCK S"
  605.  
  606. //use Rol_TRUCK_T in team 0 for
  607. //"TRUCK T"
  608.  
  609. //use Rol_TRUCK_U in team 0 for
  610. //"TRUCK U"
  611.  
  612. //use Rol_TRUCK_V in team 0 for
  613. //"TRUCK V"
  614.  
  615. //use Rol_TRUCK_W in team 0 for
  616. //"TRUCK W"
  617.  
  618. use Rol_TURBINE_A in team 0 for
  619. "TURBINE A"
  620.  
  621. use Rol_TURBINE_B in team 0 for
  622. "TURBINE B"
  623.  
  624. use Rol_WATCHTOWER in team 0 for
  625. "WATCHTOWER"
  626.  
  627.     use Rol_Junkpile_C in team 0 for
  628.         "JUNKPILE C" as "JUNKPILE_C"
  629.  
  630.     use Rol_Junkpile_C in team 0 for
  631.         "JUNKPILE CB" as "JUNKPILE_CB"
  632.  
  633.     use Rol_Junkpile_C in team 0 for
  634.         "JUNKPILE CC" as "JUNKPILE_CC"
  635.  
  636.     use Rol_Junkpile_C in team 0 for
  637.         "JUNKPILE CD" as "JUNKPILE_CD"
  638.  
  639.     use Rol_Junkpile_C in team 0 for
  640.         "JUNKPILE CE" as "JUNKPILE_CE"
  641.  
  642.     use Rol_Junkpile_C in team 0 for
  643.         "JUNKPILE CF" as "JUNKPILE_CF"
  644.  
  645.     use Rol_Junkpile_C in team 0 for
  646.         "JUNKPILE CG" as "JUNKPILE_CG"
  647.  
  648.     use Rol_Junkpile_D in team 0 for
  649.         "JUNKPILE D" as "JUNKPILE_D"
  650.  
  651.     use Rol_Junkpile_D in team 0 for
  652.         "JUNKPILE DB" as "JUNKPILE_DB"
  653.  
  654.     use Rol_Junkpile_D in team 0 for
  655.         "JUNKPILE DC" as "JUNKPILE_DC"
  656.  
  657.     use Rol_Junkpile_D in team 0 for
  658.         "JUNKPILE DD" as "JUNKPILE_DD"
  659.  
  660.     use Rol_Junkpile_D in team 0 for
  661.         "JUNKPILE DE" as "JUNKPILE_DE"
  662.  
  663.     use Rol_Junkpile_D in team 0 for
  664.         "JUNKPILE DF" as "JUNKPILE_DF"
  665.  
  666.     use Rol_Junkpile_D in team 0 for
  667.         "JUNKPILE DG" as "JUNKPILE_DG"
  668.  
  669. use Rol_Garbage_F in team 0 for
  670. "GARBAGE F" as "GARBAGE_F"
  671.  
  672. use Rol_Garbage_F in team 0 for
  673. "GARBAGE FB" as "GARBAGE_FB"
  674.  
  675. use Rol_Garbage_F in team 0 for
  676. "GARBAGE FC" as "GARBAGE_FC"
  677.  
  678. use Rol_Garbage_F in team 0 for
  679. "GARBAGE FD" as "GARBAGE_FD"
  680.  
  681. use Rol_Garbage_F in team 0 for
  682. "GARBAGE FE" as "GARBAGE_FE"
  683.  
  684. use Rol_Garbage_F in team 0 for
  685. "GARBAGE FF" as "GARBAGE_FF"
  686.  
  687. use Rol_Garbage_F in team 0 for
  688. "GARBAGE FG" as "GARBAGE_FG"
  689.  
  690. use Rol_Garbage_G in team 0 for
  691. "GARBAGE G" as "GARBAGE_G"
  692.  
  693. use Rol_Garbage_G in team 0 for
  694. "GARBAGE GB" as "GARBAGE_GB"
  695.  
  696. use Rol_Garbage_G in team 0 for
  697. "GARBAGE GC" as "GARBAGE_GC"
  698.  
  699. use Rol_Garbage_G in team 0 for
  700. "GARBAGE GD" as "GARBAGE_GD"
  701.  
  702. use Rol_Garbage_G in team 0 for
  703. "GARBAGE GE" as "GARBAGE_GE"
  704.  
  705. use Rol_Garbage_G in team 0 for
  706. "GARBAGE GF" as "GARBAGE_GF"
  707.  
  708. use Rol_Garbage_G in team 0 for
  709. "GARBAGE GG" as "GARBAGE_GG"
  710.  
  711. }